package com.fjl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogUtil {
    private static final Logger log= LoggerFactory.getLogger(LogUtil.class);

    public static void info(String s){
        log.info(s);
    }
    public static void info(String format, Object... arguments){
        log.info(format,arguments);
    }
    public static void error(String format, Object... arguments){
        log.error(format,arguments);
    }
    public static void error(String format){
        log.error(format);
    }
    public static void info(String s,Throwable e){
        log.info(s,e);
    }
    public static void error(String s,Throwable e){
        log.error(s,e);
    }
}
